package com.ctshk.rpc.train.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 火车产品成本入参req
 * </p>
 *
 * @author 彭柳霖
 * @since 2021-03-11
 */
@Data
@ApiModel(value="TrainProductCostReq对象", description="火车产品成本入参req")
public class TrainProductCostReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "火车产品id")
    private Long trainProductId;

    @ApiModelProperty(value = "成本名称")
    private String costName;

    @ApiModelProperty(value = "库存")
    private Integer stock;

    @ApiModelProperty(value = "币种id")
    private Long currencyId;

    @ApiModelProperty(value = "币种名称")
    private String currencyName;

    @NotEmpty(message = "火车票产品成本日期不能为空")
    @ApiModelProperty(value = "火车票产品成本日期集合")
    private List<TrainProductCostDateReq> trainProductCostDateReqList;

    @NotEmpty(message = "火车票产品成本价格不能为空")
    @ApiModelProperty(value = "火车票产品成本价格集合")
    private List<TrainProducCostPriceReq> trainProducCostPriceReqList;
}
